<!DOCTYPE html>

<html lang="en">
<head>
    <meta charset="utf-8">
    <title>数据库脚本发布系统</title>
    <meta name="description" content="">
    <style type="text/css">
        body {
            padding-top: 60px;
        }
    </style>
    <!--[if lt IE 9]>
    <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
</head>

<body>

    <h2>修改密码</h2>
    
    {% if pwd_is_wrong %}
        <div class="alert alert-error">
            <button type="button" class="close" data-dismiss="alert">×</button>
            <h4>错误!</h4>原密码不正确
        </div>
    {% endif %}
    <div class="well">
        <form class="form-horizontal" action="/Accounts/security/" method="post">
            {% csrf_token %}
            {{ form|as_bootstrap:"horizontal" }}
            <p class="form-actions">
                <input type="submit" value="确认修改" class="btn btn-primary">
            </p>
        </form>
    </div>

</body>
</html>